Wiki Diff Supported Switches, revision #2 to tip
== Supported Command Line Switches
A Euphoria **mode** is a Euphoria product on a specific operating system. The supported command line switches depend on the mode; use the ##-h## switch to display a list of switches for your system.
== eui -h and euiw -h
##
{{{
eui options:
[-eudir dir] Overrides the value of EUDIR
[-c filename] Specify a configuration file
[-i dir] Add a directory to be searched for include files
[-d word] Define a preprocessor word
[-l local] Defines a localization qualifier
[-ldb localdb] Defines the base name for localization databases
[-p file_ext:command] Setup a pre-processor
[-pf] Force pre-processing regardless of cache state
[-w name] Defines warning level
[-wf filename] Write all warnings to the given file instead of STDOUT
[-x name] Defines warning level by exclusion
[-batch] Turn on batch processing (do not "Press Enter" on error)
[-strict] Enable all warnings
[-test] Test syntax only, do not execute
[-coverage dir|file] Indicate files or directories for which to gather coverage statistics
[-coverage-db file] Specify the filename for the coverage database.
[-coverage-erase] Erase an existing coverage database and start a new coverage analysis.
[-coverage-exclude pattern]
Exclude from coverage
[-copyright] Display all copyright notices
[-v], [~--version] Display the version number
[-h], [~--help] Display the command options
[-?] Display the command options
}}}
##
== euc -h
{{{
##{{{
euc options:
[-eudir dir] Overrides the value of EUDIR
[-c filename] Specify a configuration file
[-i dir] Add a directory to be searched for include files
[-d word] Define a preprocessor word
[-l local] Defines a localization qualifier
[-ldb localdb] Defines the base name for localization databases
[-p file_ext:command] Setup a pre-processor
[-pf] Force pre-processing regardless of cache state
[-w name] Defines warning level
[-wf filename] Write all warnings to the given file instead of STDOUT
[-x name] Defines warning level by exclusion
[-batch] Turn on batch processing (do not "Press Enter" on error)
[-strict] Enable all warnings
[-test] Test syntax only, do not execute
[-debug] Enable debug mode for generated code
[-plat platform] Set the platform for the translated code
[-con] Create a console application
[-dll] Create a shared library
[-so] Create a shared library
[-o filename] Set the output filename
[-build-dir dir] Generate/compile all files in 'dir'
[-rc-file filename] Link resource file into resulting executable
[-wat] Set the compiler to Watcom
[-gcc] Set the compiler to GCC
[-com dir] Set the compiler directory
[-cflags flags] Flags to pass to compiler (overrides internal compiler flags)
[-lflags flags] Flags to pass to linker (overrides internal linker flags)
[-lib filename] Use a non-standard library
[-stack size] Set the stack size (Watcom)
[-maxsize size] Set the number of C statements per generated file before splitting.
[-keep] Keep the generated files
[-nobuild] Do not build the project nor write a build file
[-force-build] Force building, even if file is up-to-date
[-makefile] Generate a full Makefile
[-makefile-partial] Generate a partial project Makefile
[-silent] Do not display status messages
[-verbose] Verbose output
[-no-cygwin] Create MinGW binaries in a Cygwin environment
[-copyright] Display all copyright notices
[-v], [~--version] Display the version number
[-h], [~--help] Display the command options
[-?] Display the command options
}}}
}}}##
== eushroud -h
{{{
##{{{
eushroud options:
[-list] List unused (deleted) symbols in 'deleted.txt'
[-full_debug] Includes symbol names in IL data
[-out file] The name of the executable to create. The default is the same basename of the input file.
[-i file] An 'include' directory to use.
[-c filename] Specify a configuration file
[-d word] Define a preprocessor word
[-batch] Turn on batch processing (do not "Press Enter" on error)
[-quiet] Does not display binding information
[-copyright] Display copyright information
[-eudir dir] Overrides the value of EUDIR
[-h], [~--help] Display the command options
[-?] Display the command options
}}}
}}}##
== eubind -h
{{{
##{{{
eubind options:
[-list] List unused (deleted) symbols in 'deleted.txt'
[-icon file] User supplied icon file used.
[-con] Windows Only: Uses the current console rather than creating a new console
[-full_debug] Includes symbol names in IL data
[-out file] The name of the executable to create. The default is the same basename of the input file.
[-i file] An 'include' directory to use.
[-c filename] Specify a configuration file
[-d word] Define a preprocessor word
[-eub backend runner] Path to backend runner to use for binding
[-batch] Turn on batch processing (do not "Press Enter" on error)
[-quiet] Does not display binding information
[-copyright] Display copyright information
[-eudir dir] Overrides the value of EUDIR
[-h], [~--help] Display the command options
[-?] Display the command options
}}}
}}}##
The case of the switches is ignored. For example: ##-i## and ##-I## are equivalent; ##-copyright## and ##-CopyRighT## are equivalent.
=== Note:
Every path is searched for include files. They are searched in the following order~:
# The current path
# Paths specified in a ##-I## command line switch, which can also come from any
configuration files found.
# Paths listed in the ##EUINC## environment variable, in the order in which
they appear
# Paths listed in the ##EUDIR## environment variable, in the order in which
they appear
# The interpreter's path
A Euphoria **mode** is a Euphoria product on a specific operating system. The supported command line switches depend on the mode; use the ##-h## switch to display a list of switches for your system.
== eui -h and euiw -h
{{{
eui options:
[-eudir dir] Overrides the value of EUDIR
[-c filename] Specify a configuration file
[-i dir] Add a directory to be searched for include files
[-d word] Define a preprocessor word
[-l local] Defines a localization qualifier
[-ldb localdb] Defines the base name for localization databases
[-p file_ext:command] Setup a pre-processor
[-pf] Force pre-processing regardless of cache state
[-w name] Defines warning level
[-wf filename] Write all warnings to the given file instead of STDOUT
[-x name] Defines warning level by exclusion
[-batch] Turn on batch processing (do not "Press Enter" on error)
[-strict] Enable all warnings
[-test] Test syntax only, do not execute
[-coverage dir|file] Indicate files or directories for which to gather coverage statistics
[-coverage-db file] Specify the filename for the coverage database.
[-coverage-erase] Erase an existing coverage database and start a new coverage analysis.
[-coverage-exclude pattern]
Exclude from coverage
[-copyright] Display all copyright notices
[-v], [~--version] Display the version number
[-h], [~--help] Display the command options
[-?] Display the command options
}}}
== euc -h
{{{
euc options:
[-eudir dir] Overrides the value of EUDIR
[-c filename] Specify a configuration file
[-i dir] Add a directory to be searched for include files
[-d word] Define a preprocessor word
[-l local] Defines a localization qualifier
[-ldb localdb] Defines the base name for localization databases
[-p file_ext:command] Setup a pre-processor
[-pf] Force pre-processing regardless of cache state
[-w name] Defines warning level
[-wf filename] Write all warnings to the given file instead of STDOUT
[-x name] Defines warning level by exclusion
[-batch] Turn on batch processing (do not "Press Enter" on error)
[-strict] Enable all warnings
[-test] Test syntax only, do not execute
[-debug] Enable debug mode for generated code
[-plat platform] Set the platform for the translated code
[-con] Create a console application
[-dll] Create a shared library
[-so] Create a shared library
[-o filename] Set the output filename
[-build-dir dir] Generate/compile all files in 'dir'
[-rc-file filename] Link resource file into resulting executable
[-wat] Set the compiler to Watcom
[-gcc] Set the compiler to GCC
[-com dir] Set the compiler directory
[-cflags flags] Flags to pass to compiler (overrides internal compiler flags)
[-lflags flags] Flags to pass to linker (overrides internal linker flags)
[-lib filename] Use a non-standard library
[-stack size] Set the stack size (Watcom)
[-maxsize size] Set the number of C statements per generated file before splitting.
[-keep] Keep the generated files
[-nobuild] Do not build the project nor write a build file
[-force-build] Force building, even if file is up-to-date
[-makefile] Generate a full Makefile
[-makefile-partial] Generate a partial project Makefile
[-silent] Do not display status messages
[-verbose] Verbose output
[-no-cygwin] Create MinGW binaries in a Cygwin environment
[-copyright] Display all copyright notices
[-v], [~--version] Display the version number
[-h], [~--help] Display the command options
[-?] Display the command options
}}}
== eushroud -h
{{{
eushroud options:
[-list] List unused (deleted) symbols in 'deleted.txt'
[-full_debug] Includes symbol names in IL data
[-out file] The name of the executable to create. The default is the same basename of the input file.
[-i file] An 'include' directory to use.
[-c filename] Specify a configuration file
[-d word] Define a preprocessor word
[-batch] Turn on batch processing (do not "Press Enter" on error)
[-quiet] Does not display binding information
[-copyright] Display copyright information
[-eudir dir] Overrides the value of EUDIR
[-h], [~--help] Display the command options
[-?] Display the command options
}}}
== eubind -h
{{{
eubind options:
[-list] List unused (deleted) symbols in 'deleted.txt'
[-icon file] User supplied icon file used.
[-con] Windows Only: Uses the current console rather than creating a new console
[-full_debug] Includes symbol names in IL data
[-out file] The name of the executable to create. The default is the same basename of the input file.
[-i file] An 'include' directory to use.
[-c filename] Specify a configuration file
[-d word] Define a preprocessor word
[-eub backend runner] Path to backend runner to use for binding
[-batch] Turn on batch processing (do not "Press Enter" on error)
[-quiet] Does not display binding information
[-copyright] Display copyright information
[-eudir dir] Overrides the value of EUDIR
[-h], [~--help] Display the command options
[-?] Display the command options
}}}
The case of the switches is ignored. For example: ##-i## and ##-I## are equivalent; ##-copyright## and ##-CopyRighT## are equivalent.
=== Note:
Every path is searched for include files. They are searched in the following order~:
# The current path
# Paths specified in a ##-I## command line switch, which can also come from any
configuration files found.
# Paths listed in the ##EUINC## environment variable, in the order in which
they appear
# Paths listed in the ##EUDIR## environment variable, in the order in which
they appear
# The interpreter's path